package cn.jingyuan.swan.hello;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@EnableDiscoveryClient
@EnableFeignClients
@EnableConfigurationProperties
@SpringBootApplication
public class HelloApp {

    public static void main(String[] args) {
        // 与下方等价
        SpringApplication.run(HelloApp.class, args);

        // SpringApplication app = new SpringApplication(HelloApp.class);
        // app.setBannerMode(Banner.Mode.OFF);
        // app.run(args);
    }


}
